<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新增鸡日报')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-ncChickenDayCensus-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">存栏数量：</label>
				<div class="col-sm-8">
					<input id="cunAmount" name="cunAmount" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">外购数量：</label>
				<div class="col-sm-8">
					<input id="inputAmount" name="inputAmount" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">直供大只数量：</label>
				<div class="col-sm-8">
					<input id="outputAmountBig" name="outputAmountBig" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">直供小只数量：</label>
				<div class="col-sm-8">
					<input id="outputAmountLittle" name="outputAmountLittle" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">内销数量：</label>
				<div class="col-sm-8">
					<input id="neiXiao" name="neiXiao" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">主饲料数量
：</label>
				<div class="col-sm-8">
					<input id="zFeed" name="zFeed" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">辅饲料数量：</label>
				<div class="col-sm-8">
					<input id="fFeed" name="fFeed" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">死亡数量：</label>
				<div class="col-sm-8">
					<input id="die" name="die" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<textarea rows="3" id="remark" name="remark" class="form-control" type="text"></textarea>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">时间：</label>
				<div class="col-sm-8">
					<input id="dateTime" name="dateTime" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/ncChickenDayCensus"
		$("#form-ncChickenDayCensus-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-ncChickenDayCensus-add').serialize());
	        }
	    }
	</script>
</body>
</html>
